package com.jwsoft.manager.common.vo.eduArea;

import com.bifang.assistant.common.vo.BaseVO;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 行政区划转换规则表VO
 *
 * @author dlb
 * @since 2023-02-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduAreaVO", title = "行政区划转换规则表VO", description = "行政区划转换规则表实体类")
public class EduAreaVO extends BaseVO {

    @Schema(name = "areaId", title = "行政区划id")
    private String areaId;

    @Schema(name = "areaCode", title = "行政区划标准编码")
    private String areaCode;

    @Schema(name = "localCode", title = "本地自定义编码")
    private String localCode;

    @Schema(name = "areaName", title = "组织名称")
    private String areaName;

    @Schema(name = "orgType", title = "行政区划类型")
    private String orgType;

    @Schema(name = "orgTypeName", title = "行政区划类型名称")
    private String orgTypeName;

    @Schema(name = "contact", title = "联系人")
    private String contact;

    @Schema(name = "cellphone", title = "联系人手机")
    private String cellphone;

    @Schema(name = "phone", title = "联系人电话")
    private String phone;

    @Schema(name = "rate", title = "级别")
    private Integer rate;

    @Schema(name = "orderNo", title = "排序号")
    private Integer orderNo;

    @Schema(name = "address", title = "地址")
    private String address;

    @Schema(name = "longitude", title = "经度")
    private BigDecimal longitude;

    @Schema(name = "latitude", title = "纬度")
    private BigDecimal latitude;

    @Schema(name = "remarks", title = "描述")
    private String remarks;

    @Schema(name = "status", title = "状态")
    private String status;

    @Schema(name = "createName", title = "创建人")
    private String createName;

    @Schema(name = "createTime", title = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(name = "parentId", title = "上级地址/区域")
    private String parentId;
}
